body {
            font-family: Arial, sans-serif;
            margin: 15px;
            font-size: 14px;
            line-height: 1.4;
        }

        h1 {
            font-size: 20px;
            margin-top: 10px;
            margin-bottom: 15px;
        }

        h2 {
            font-size: 18px;
            margin-top: 15px;
            margin-bottom: 10px;
        }

        h3 {
            font-size: 16px;
            margin-top: 12px;
            margin-bottom: 8px;
        }

        h4 {
            font-size: 15px;
            margin-top: 10px;
            margin-bottom: 6px;
        }

        .form-group {
            margin-bottom: 10px;
        }

        label {
            display: inline-block;
            width: 80px;
            font-size: 13px;
        }

        input[type="text"], input[type="password"] {
            width: 250px;
            padding: 4px;
            font-size: 13px;
        }

        input[type="submit"] {
            padding: 6px 12px;
            background: #007bff;
            color: white;
            border: none;
            cursor: pointer;
            font-size: 13px;
            margin-right: 5px;
        }

        .result {
            margin-top: 20px;
        }

        .diff {
            color: red;
            font-weight: bold;
            font-size: 13px;
        }

        table {
            border-collapse: collapse;
            width: 100%;
            font-size: 12px;
        }

        th, td {
            border: 1px solid #ddd;
            padding: 4px 6px;
            text-align: left;
        }

        th {
            background-color: #f2f2f2;
            font-weight: bold;
        }

        .db-info {
            margin-bottom: 10px;
            font-size: 12px;
        }

        .db-info p {
            margin: 3px 0;
        }

        .sql-section {
            margin-top: 15px;
        }

        .sql-content-container {
            position: relative;
            margin-bottom: 15px;
        }

        .sql-content-block {
            background-color: #f8f9fa;
            border: 1px solid #ddd;
            padding: 8px;
            font-family: monospace;
            white-space: pre-wrap;
            font-size: 12px;
            max-height: 300px;
            overflow-y: auto;
            margin-bottom: 5px;
            border-radius: 4px;
        }

        .sql-content {
            padding: 1px 0;
            line-height: 1.2;
        }

        .copy-btn {
            padding: 5px 10px;
            background: #28a745;
            color: white;
            border: none;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            margin-top: 5px;
            font-size: 12px;
            position: absolute;
            right: 0;
            top: 0;
        }

        .export-btn {
            padding: 5px 10px;
            background: #28a745;
            color: white;
            border: none;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            margin-top: 5px;
            font-size: 12px;
        }

        .database-section {
            border: 1px solid #ddd;
            padding: 10px;
            margin-bottom: 15px;
        }

        .database-title {
            font-weight: bold;
            margin-bottom: 8px;
            color: #007bff;
            font-size: 13px;
        }

        /* 表结构对比区域样式 */
        .table-structure-section {
            margin-top: 15px;
        }

        .table-comparison {
            display: flex;
            gap: 10px;
            overflow-x: auto;
        }

        .table-panel {
            flex: 1;
            min-width: 350px;
        }

        .table-header {
            font-weight: bold;
            margin-bottom: 8px;
            padding: 6px;
            background-color: #e9ecef;
            border-radius: 3px;
            font-size: 13px;
        }

        .table-info {
            margin-bottom: 10px;
            padding: 6px;
            background-color: #f8f9fa;
            border-radius: 3px;
            font-size: 12px;
        }

        /* 差异行高亮显示 */
        .diff-row {
            background-color: #fff5f5;
        }

        /* 表格内的特殊字段样式 */
        .key-column {
            font-weight: bold;
            color: #007bff;
        }

        .nullable-yes {
            color: #6c757d;
        }

        .nullable-no {
            font-weight: bold;
        }

        /* 差异单元格高亮显示 */
        .cell-diff {
            background-color: #ffe6e6;
            color: #cc0000;
            font-weight: bold;
        }

        /* 缺失列高亮显示 */
        .missing-column {
            background-color: #ffe6e6;
            color: #cc0000;
            font-weight: bold;
            cursor: pointer;
        }

        /* 缺失表高亮显示 */
        .missing-table {
            background-color: #ffe6e6;
            color: #cc0000;
            font-weight: bold;
            padding: 8px;
            margin: 5px 0;
            border-radius: 3px;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .table-comparison {
                flex-direction: column;
            }

            input[type="text"], input[type="password"] {
                width: 180px;
            }
        }

        ul {
            margin: 5px 0;
            padding-left: 20px;
        }

        li {
            margin-bottom: 3px;
        }

        .form-container {
            display: flex;
            gap: 15px;
        }

        @media (max-width: 768px) {
            .form-container {
                flex-direction: column;
            }
        }

        .table-diff-summary {
            background-color: #fff3cd;
            border: 1px solid #ffeaa7;
            padding: 10px;
            border-radius: 4px;
            margin-bottom: 15px;
        }

        .diff-table-item {
            margin-bottom: 20px;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            padding: 10px;
        }

        .diff-table-title {
            font-weight: bold;
            font-size: 14px;
            margin-bottom: 10px;
            color: #007bff;
            height: 30px;
        }
         .table-actions {
                    float:right;
                }